﻿#region Using Statements
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Storage;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;
#endregion

namespace TheSpirit
{
    public abstract class TowerAttack
    {
        protected Texture2D attackTexture;
        protected Rectangle worldLocation;
        protected Rectangle localLocation;
        protected Point tileLocation;
        protected Enemy target;
        protected bool isAttack;
        protected Vector2 destination;
        protected Vector2 position;
        protected Vector2 velocity;
        protected float attackVelocity;
        protected float distance;
        protected double attackTime;

        public abstract void LoadContent(ContentManager content);
        public abstract void Update(GameTime gameTime, List<Enemy> enemy);
        public abstract void Draw(SpriteBatch spriteBatch);
    }
}
